package com.ndp.fb.walle.business;

import com.ndp.fb.rdb.model.Pager;
import com.ndp.fb.rdb.model.ecelement.EcElementAttach;
import com.ndp.fb.rdb.model.User;

import java.io.File;
import java.util.List;

/**
 * Created by evan on 2016/7/8.
 */
public interface EcElementService {

    List<EcElementAttach> findByType(Long orgId, Integer type);

    void parse(User user, Long templateId, String folder) throws Exception;

    EcElementAttach insert(User user, String filename, File elementAttachFile) throws Exception;

    Pager<EcElementAttach> getAllDesignEle(Long orgId, Integer type, Integer firstResult, Integer sizeNo);

    List<EcElementAttach> getAllAttach(Long orgId);
}
